load("@fbcode_macros//build_defs:thrift_library.bzl", "thrift_library")

oncall("fboss_platform")

thrift_library(
    name = "weutil_config",
    go_thrift_namespaces = {
        "weutil_config.thrift": "neteng.fboss.platform.weutil_config",
    },
    languages = [
        "cpp2",
    ],
    thrift_cpp2_options = "json",
    thrift_srcs = {"weutil_config.thrift": []},
)

thrift_library(
    name = "eeprom_contents",
    languages = [
        "cpp2",
        "python",
    ],
    py3_namespace = "facebook.fboss.platform",
    thrift_cpp2_options = "json",
    thrift_srcs = {"eeprom_contents.thrift": []},
)
